package learn.emp02.ex24;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input = scanner.nextLine();
        String[] numbers = input.split(" ");

        StringBuilder result = new StringBuilder();

        for (String numStr : numbers) {
            int num = Integer.parseInt(numStr);
            // 数据处理：小于0设为0，大于100设为100
            if (num < 0) {
                num = 0;
            } else if (num > 100) {
                num = 100;
            }
            result.append(num).append(",");
        }

        System.out.println(result.toString());
        scanner.close();
    }
}
